{"version":3,"file":"field-controller.min.js","sources":["field-controller.js"],"names":["BX","namespace","Filter","FieldController","field","parent","this","type","input","deleteButton","init","prototype","isDomNode","Main","bind","isShowDelete","showDelete","hideDelete","squares","getSquares","getInputValue","isArray","length","getField","getInput","types","getType","DATE","Utils","getByClass","settings","classDateInput","NUMBER","classNumberInput","STRING","classStringInput","CUSTOM_ENTITY","getBySelector","getDeleteButton","classValueDelete","classSquare","MULTI_SELECT","SELECT","delegate","_onDeleteClick","_onInput","clearInput","value","addClass","classHide","removeClass","removeSquares","forEach","square","remove","result","isNotEmptyString","data"],"mappings":"CAAC,WACA,YAEAA,IAAGC,UAAU,YAEbD,IAAGE,OAAOC,gBAAkB,SAASC,EAAOC,GAE3CC,KAAKF,MAAQ,IACbE,MAAKD,OAAS,IACdC,MAAKC,KAAO,IACZD,MAAKE,MAAQ,IACbF,MAAKG,aAAe,IACpBH,MAAKI,KAAKN,EAAOC,GAGlBL,IAAGE,OAAOC,gBAAgBQ,WACzBD,KAAM,SAASN,EAAOC,GAErB,IAAKL,GAAGO,KAAKK,UAAUR,GACvB,CACC,KAAM,uDAGP,KAAMC,YAAkBL,IAAGa,KAAKX,QAChC,CACC,KAAM,2EAGPI,KAAKF,MAAQA,CACbE,MAAKD,OAASA,CACdC,MAAKQ,MAELR,MAAKS,eAAiBT,KAAKU,aAAeV,KAAKW,cAGhDF,aAAc,WAEb,GAAIG,GAAUZ,KAAKa,YACnB,OAAOb,MAAKc,iBAAoBpB,GAAGO,KAAKc,QAAQH,IAAYA,EAAQI,QAGrEC,SAAU,WAET,MAAOjB,MAAKF,OAGboB,SAAU,WAET,GAAIjB,GAAMkB,CAEV,KAAKzB,GAAGO,KAAKK,UAAUN,KAAKE,OAC5B,CACCD,EAAOD,KAAKoB,SACZD,GAAQnB,KAAKD,OAAOoB,KAEpB,IAAIlB,IAASkB,EAAME,KACnB,CACCrB,KAAKE,MAAQR,GAAGE,OAAO0B,MAAMC,WAAWvB,KAAKiB,WAAYjB,KAA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